import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import 'element-ui/lib/theme-chalk/table.css'
import axios from 'axios'
// import VueResource from 'vue-resource'
// import VueResource from 'vue-resource'
import VueAxios from 'vue-axios'

// axios.defaults.withCredentials = true
axios.defaults.baseURL = '/api'
Vue.config.productionTip = false
Vue.prototype.axios = axios
Vue.use(VueAxios, axios)
// import './assets/override-element-ui.css'

Vue.use(ElementUI)

// Vue.use(VueResource)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
